﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Update.aspx.cs" Inherits="Wicresoft.RDW.Announcement.Update" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<script language="javascript" type="text/javascript">
    $(function () {
        $("#<%=btnAnnouncementSubmit.ClientID %>").click(checkAllTextValid);
        $("#<%=btnAnnouncementCancel.ClientID %>").click(checkAllTextValid);
    });     
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:PlaceHolder ID="phMain" runat="server">
        <div class="main_title">
            <h2>
                <%=Resources.ManageResource.title_newsManage%></h2>
        </div>
        <div class="line_gray">
        </div>
        <br />
        <div>
            <asp:Label ID="lblLanguage" runat="server" />
            <asp:CheckBox ID="rtbnChLanguage" runat="server" Checked="true" />
            <asp:CheckBox ID="rtbnEnLanguage" runat="server" />
            <asp:Label ID="lblNullError" runat="server" ForeColor="Red" />
        </div>
        <br />
        <div>
            <asp:Label ID="lblSubject" runat="server" />
            <asp:TextBox ID="txtSubject" runat="server" Width="65%" MaxLength="1000" />
            <asp:RequiredFieldValidator ID="rfvtxtSubject" runat="server" ControlToValidate="txtSubject"
                ErrorMessage="*" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
        </div>
        <br />
        <div>
            <FCKeditorV2:FCKeditor ID="fckBody" ForcePasteAsPlainText="true" ToolbarStartExpanded="false" runat="server" Width="100%" Height="400">
            </FCKeditorV2:FCKeditor>
            <asp:Label ID="lblfckBodyError" runat="server" ForeColor="Red" />
        </div>
        <br />
        <div class="sqbtnPane">
            <p class="sqbtn">
                <asp:LinkButton ID="btnAnnouncementSubmit" runat="server" OnClick="btnAnnouncementSubmit_Click" /></p>
            <p class="sqbtn">
                <asp:LinkButton ID="btnAnnouncementCancel" runat="server" OnClick="btnAnnouncementCancel_Click"
                    CausesValidation="false" /></p>
        </div>
    </asp:PlaceHolder>
</asp:Content>
